home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
chtiff
/
source
/
function.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-08
|
1KB
|
43 lines
/* 外部関数の宣言 */
#ifndef READ_SECTION
extern unsigned char read_BYTE(unsigned long offset);
extern unsigned short read_SHORT(unsigned long offset);
extern unsigned long read_LONG(unsigned long offset);
extern int isIntel(void);
extern void read_IFD(void);
extern unsigned int read_Gdata(void);
#endif
#ifndef WRITE_SECTION
extern void write_BYTE(unsigned long offset, unsigned char data);
extern void write_SHORT(unsigned long offset, unsigned short data);
extern void write_LONG(unsigned long offset, unsigned long data);
extern void write_entry(unsigned short tag, unsigned short type, unsigned long len, unsigned long value);
extern void write_IFD( void );
extern void write_Gdata(unsigned short data);
#endif
#ifndef EXCHANGE_SECTION
extern void change8(int EXPAND);
extern void change12(int EXPAND);
extern void change16(int EXPAND);
extern void change24(int EXPAND);
extern void change32(int EXPAND);
#endif
#ifndef MAIN
extern TIFF_INFO from,to;
#endif
#ifndef COMPRESS_SECTION
extern void compress(unsigned char *a, unsigned long b);
#endif
extern void usage(void);
extern void *MALLOC( size_t size );
#ifndef UNCOMPRESS_SECTION
extern unsigned long uncompress(unsigned char *a);
#endif